Xbasic

OBJECT.DELETE Function

Syntax

Object_Type.Delete(C layoutname )

Arguments

Object_Type

This word can be any of the following:

"Browse"
"Form"
"Label"
"Letter"
"Report"
layoutname

The name of a form, browse, label, letter, or report layout.

Description

Delete a main Alpha Anywhere program.

Discussion

The <OBJECT>.DELETE() method applies to objects of type:

Browse
Form
Label
Letter
Report

The <OBJECT>.DELETE() method deletes the named object from disk.

Example

This script deletes the Invoice report.

:Report.delete("Invoice")

Limitations

Desktop applications only.

See Also